package com.qfedu.aunt.commons.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NegativeOrZero;
import java.util.List;

/**
 * @author xiaobobo
 * @title: PermDTO
 * @projectName aunt_commons_2209
 * @description: TODO
 * @date 2022/11/10  14:33
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PermDTO {
    //主键id
    private String id;
    //父亲id
    private String parentId;
    //图标
    private String icon;
    //索引
    private String index;
    //标题
    private String title;
    //这个就是我们的孩子
    private List<PermDTO> subs;
}
